﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ClipperHouse.jQuery.Base
{
	public class InnerProperty : Label
	{
		// Why a label? It's the simplest web control I could find which puts its content into a Text property.
		// The label itself will never be rendered. The text is ultimately passed back to ScriptManager and output.

		public InnerProperty()
		{
		}

		#region Hidden Properties
		// Hiding properties so they don't show up in Intellisense.

		protected bool Enabled
		{
			get
			{
				return base.Enabled;
			}
			set
			{
				base.Enabled = value;
			}
		}

		protected string Text
		{
			get
			{
				return base.Text;
			}
			set
			{
				base.Text = value;
			}
		}

		protected string ID
		{
			get
			{
				return base.ID;
			}
			set
			{
				base.ID = value;
			}
		}

		protected string AccessKey
		{
			get
			{
				return base.AccessKey;
			}
		}

		private string AssociatedControlID
		{
			get
			{
				return base.AssociatedControlID;
			}
		}
		private System.Drawing.Color BorderColor
		{
			get
			{
				return base.BorderColor;
			}
		}

		private System.Drawing.Color BackColor
		{
			get
			{
				return base.BackColor;
			}
		}

		private BorderStyle BorderStyle
		{
			get
			{
				return base.BorderStyle;
			}
		}

		private Unit BorderWidth
		{
			get
			{
				return base.BorderWidth;
			}
		}

		private string CssClass
		{
			get
			{
				return base.CssClass;
			}
		}

		private bool EnableTheming
		{
			get
			{
				return base.EnableTheming;
			}
		}

		private bool EnableViewState
		{
			get
			{
				return false;
			}
		}

		private FontInfo Font
		{
			get
			{
				return null;
			}
		}

		private System.Drawing.Color ForeColor
		{
			get
			{
				return base.ForeColor;
			}
		}

		private Unit Height
		{
			get
			{
				return base.Height;
			}
		}

		private string SkinID
		{
			get
			{
				return base.SkinID;
			}
		}

		private short TabIndex
		{
			get
			{
				return base.TabIndex;
			}
		}

		private string ToolTip
		{
			get
			{
				return base.ToolTip;
			}
		}

		protected bool Visible
		{
			get
			{
				return false;
			}
		}

		private Unit Width
		{
			get
			{
				return base.Width;
			}
		}


		protected virtual event EventHandler Disposed;
		protected virtual event EventHandler DataBinding;
		protected virtual event EventHandler Load;
		protected virtual event EventHandler Init;
		protected virtual event EventHandler PreRender;
		protected virtual event EventHandler Unload;

		#endregion
	}
}
